package com.ophiux.cs.infrastructure.mapper.consultOrder;

import java.util.List;

import com.ophiux.cs.domain.consultOrder.model.aggregate.OnlineRecordsAndDetail;
import com.ophiux.cs.domain.consultOrder.model.entity.CSOnlineRecords;
import com.ophiux.cs.domain.consultOrder.model.valueobj.OnlineRecordValueObj;

public interface ConsultOrderMapper {
	
	void insert(CSOnlineRecords obj);
	
	void update(CSOnlineRecords obj);
	
	List<OnlineRecordsAndDetail> getInfoList(OnlineRecordValueObj obj);
	
	CSOnlineRecords getInfo(OnlineRecordValueObj obj);
	
	/**
	 * 根据咨询记录id，查询咨询记录
	 * @param recordId  咨询记录id
	 * @return
	 */
	CSOnlineRecords getRecordById(String recordId);
}
